﻿@inject LayoutDataServices data

@{
    var left = data.getAdContent().FirstOrDefault(x => x.position == AD_Postion.Banner_Left);
    var right = data.getAdContent().FirstOrDefault(x => x.position == AD_Postion.Banner_Right);
}

<div id="yuce" class="container-fluid">
    <div class="row">
        @*左边的八字预测*@
        @if (left == null)
        {
            <div class="col-lg-8" style="background-color:#F3ECE2;" onclick="javascript:window.open('/article/divinationexplain')">
                <div style="height:40px;width:80px;float:left;">
                    <img src="~/imgs/weixin.jpg" height="40" />
                </div>
                <div class="yuce_weixinhao">
                    <div class="zzqc">
                        站长亲测<br />
                        <span style="font-size:14px;">&emsp;微信号:383129257</span>
                    </div>
                    <div class="bzxp">
                        八字详批:198元
                    </div>
                    <div class="mfycgq"><img src="~/imgs/mfycgq.png" height="40" /></div>
                </div>
            </div>
        }
        else
        {
            <div class="col-lg-8">
                @Html.Raw(left.content)
            </div>
        }


        @*右边的八卦六爻预测*@
        <div class="col-lg-4">
            @if (right == null)
            {
                <div style="height:40px;width:80px;float:left;">
                    <img src="~/imgs/weixin.jpg" height="40" />
                </div>
                <div class="bgyc">
                    六爻预测<br />每卦66元
                </div>
            }
            else
            {
                <div>
                    @Html.Raw(right.content)
                </div>
            }
        </div>
    </div>
</div>